import Vue from 'vue';
import Vuex from 'vuex';


const initStore = (StoreMap = {}, getterMap = {}) => {
    // 执行Vuex
    let Store = new Vuex.Store({
        modules: StoreMap,
        state: {

        },
        mutations: {

        },
        actions: {

        },
        getters: getterMap
    });
    return Store;
};

export default initStore;